solve_cholesky Interface

public interface solve_cholesky

Module Procedures

private subroutine solve_cholesky_mtx(upper, a, b, err)

Solves the system of Cholesky factored equations or .

Arguments

Type IntentOptional Attributes Name
logical, intent(in) :: upper

Set to true if is factored such that ; else, set to false if is factored such that .

real(kind=real64), intent(in), dimension(:,:) :: a

The N-by-N Cholesky factored matrix as returned by cholesky_factor.

real(kind=real64), intent(inout), dimension(:,:) :: b

On input, the N-by-NRHS matrix . On output, the resulting N-by-NRHS matrix .

class(errors), intent(inout), optional, target :: err

An error object to report any errors that occur.

private subroutine solve_cholesky_mtx_cmplx(upper, a, b, err)

Solves the system of Cholesky factored equations or .

Arguments

Type IntentOptional Attributes Name
logical, intent(in) :: upper

Set to true if is factored such that ; else, set to false if is factored such that .

complex(kind=real64), intent(in), dimension(:,:) :: a

The N-by-N Cholesky factored matrix as returned by cholesky_factor.

complex(kind=real64), intent(inout), dimension(:,:) :: b

On input, the N-by-NRHS matrix . On output, the resulting N-by-NRHS matrix .

class(errors), intent(inout), optional, target :: err

An error object to report any errors that occur.

private subroutine solve_cholesky_vec(upper, a, b, err)

Solves the system of Cholesky factored equations or .

Arguments

Type IntentOptional Attributes Name
logical, intent(in) :: upper

Set to true if is factored such that ; else, set to false if is factored such that .

real(kind=real64), intent(in), dimension(:,:) :: a

The N-by-N Cholesky factored matrix as returned by cholesky_factor.

real(kind=real64), intent(inout), dimension(:) :: b

On input, the N-element vector . On output, the resulting N-element vector .

class(errors), intent(inout), optional, target :: err

An error object to report any errors that occur.

private module subroutine solve_cholesky_vec_cmplx(upper, a, b, err)

Solves the system of Cholesky factored equations or .

Arguments

Type IntentOptional Attributes Name
logical, intent(in) :: upper

Set to true if is factored such that ; else, set to false if is factored such that .

complex(kind=real64), intent(in), dimension(:,:) :: a

The N-by-N Cholesky factored matrix as returned by cholesky_factor.

complex(kind=real64), intent(inout), dimension(:) :: b

On input, the N-element vector . On output, the resulting N-element vector .

class(errors), intent(inout), optional, target :: err

An error object to report any errors that occur.